# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 8
_modified_time = 1335018370.104
_enable_loop = True
_template_filename = 'D:\\aaa\\CookBook2\\cookbook2\\templates/info.mako'
_template_uri = '/info.mako'
_source_encoding = 'utf-8'
from markupsafe import escape
_exports = ['css_link', 'css']


def render_body(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        self = context.get('self', UNDEFINED)
        set = context.get('set', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 2
        __M_writer(u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<!--\r\nDesign by Free CSS Templates\r\nhttp://www.freecsstemplates.org\r\nReleased for free under a Creative Commons Attribution 2.5 License\r\n\r\nName       : Yellowing   \r\nDescription: A two-column, fixed-width design with dark color scheme.\r\nVersion    : 1.0\r\nReleased   : 20110123\r\n\r\n-->\r\n\r\n\r\n')
        # SOURCE LINE 16
        self.seen_css = set() 
        
        __M_writer(u'\r\n<head>\r\n    ')
        # SOURCE LINE 18
        __M_writer(escape(self.css()))
        __M_writer(u'\r\n</head>\r\n\r\n')
        # SOURCE LINE 25
        __M_writer(u'\r\n\r\n')
        # SOURCE LINE 29
        __M_writer(u'\r\n\r\n\r\n<body>\r\n<div id="wrapper">\r\n\t<div id="header">\r\n\t\t<div id="logo">\r\n\t\t\t<h1><a href="#">Yellowing </a></h1>\r\n\t\t\t<p>template design by <a href="http://www.freecsstemplates.org/">CSS Templates</a></p>\r\n\t\t</div>\r\n\t\t<div id="search">\r\n\t\t\t<form method="get" action="">\r\n\t\t\t\t<fieldset>\r\n\t\t\t\t\t<input type="text" name="s" id="search-text" size="15" value="enter keywords here..." />\r\n\t\t\t\t\t<input type="submit" id="search-submit" value="GO" />\r\n\t\t\t\t</fieldset>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t</div>\r\n\t<!-- end #header -->\r\n\t<div id="page">\r\n\t\t<div id="page-bgtop">\r\n\t\t\t<div id="page-bgbtm">\r\n\t\t\t\t<div id="menu">\r\n\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t<li class="current_page_item"><a href="#">Home</a></li>\r\n\t\t\t\t\t\t<li><a href="#">Blog</a></li>\r\n\t\t\t\t\t\t<li><a href="#">Photos</a></li>\r\n\t\t\t\t\t\t<li><a href="#">About</a></li>\r\n\t\t\t\t\t\t<li><a href="#">Links</a></li>\r\n\t\t\t\t\t\t<li><a href="#">Contact</a></li>\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<!-- end #menu -->\r\n\t\t\t\t<div id="content">\r\n\t\t\t\t\t<div class="post">\r\n\t\t\t\t\t\t<h2 class="title"><a href="#">Welcome to Yellowing </a></h2>\r\n\t\t\t\t\t\t<p class="meta">Posted by <a href="#">Someone</a> on March 10, 2010\r\n\t\t\t\t\t\t\t&nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>\r\n\t\t\t\t\t\t<div class="entry">\r\n\t\t\t\t\t\t\t<p><img src="images/img05.jpg" width="143" height="143" alt="" class="alignleft border" />This is <strong>Yellowing </strong>, a free, fully standards-compliant CSS template designed by FreeCssTemplates<a href="http://www.nodethirtythree.com/"></a> for <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.  The picture in this template is from <a href="#">PDPhoto.org</a>. This free template is released under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attributions 2.5</a> license, so you\u2019re pretty much free to do whatever you want with it (even use it commercially) provided you keep the links in the footer intact. Aside from that, have fun with it :)</p>\r\n\t\t\t\t\t\t\t<p>Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum ipsum. Proin imperdiet est. Phasellus dapibus semper urna. Pellentesque ornare, orci in felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus egestas at sem.</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class="post">\r\n\t\t\t\t\t\t<h2 class="title"><a href="#">Lorem ipsum sed aliquam</a></h2>\r\n\t\t\t\t\t\t<p class="meta">Posted by <a href="#">Someone</a> on March 8, 2010\r\n\t\t\t\t\t\t\t&nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>\r\n\t\t\t\t\t\t<div class="entry">\r\n\t\t\t\t\t\t\t<p><img src="images/img06.jpg" width="143" height="143" alt="" class="alignleft border" />Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Phasellus <a href="#">dapibus semper urna</a>. Pellentesque ornare, consectetuer nisl felis ac diam.</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div class="post">\r\n\t\t\t\t\t\t<h2 class="title"><a href="#">Phasellus pellentesque turpis </a></h2>\r\n\t\t\t\t\t\t<p class="meta">Posted by <a href="#">Someone</a> on March 8, 2010\r\n\t\t\t\t\t\t\t&nbsp;&bull;&nbsp; <a href="#" class="comments">Comments (64)</a> &nbsp;&bull;&nbsp; <a href="#" class="permalink">Full article</a></p>\r\n\t\t\t\t\t\t<div class="entry">\r\n\t\t\t\t\t\t\t<p><img src="images/img05.jpg" width="143" height="143" alt="" class="alignleft border" />Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer. Donec ipsum. Proin imperdiet est. Pellentesque ornare, orci in consectetuer hendrerit, urna elit eleifend nunc.</p>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div style="clear: both;">&nbsp;</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<!-- end #content -->\r\n\t\t\t\t<div id="sidebar">\r\n\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<h2>Aliquam tempus</h2>\r\n\t\t\t\t\t\t\t<p>\r\n\t\t\t\t\t\t\t\tZALOGOWANY\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<h2>Categories</h2>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Aliquam libero</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Consectetuer adipiscing elit</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Metus aliquam pellentesque</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Suspendisse iaculis mauris</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Urnanet non molestie semper</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Proin gravida orci porttitor</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<h2>Blogroll</h2>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Aliquam libero</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Consectetuer adipiscing elit</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Metus aliquam pellentesque</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Suspendisse iaculis mauris</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Urnanet non molestie semper</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Proin gravida orci porttitor</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<h2>Archives</h2>\r\n\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Aliquam libero</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Consectetuer adipiscing elit</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Metus aliquam pellentesque</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Suspendisse iaculis mauris</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Urnanet non molestie semper</a></li>\r\n\t\t\t\t\t\t\t\t<li><a href="#">Proin gravida orci porttitor</a></li>\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<!-- end #sidebar -->\r\n\t\t\t\t<div style="clear: both;">&nbsp;</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n\t<!-- end #page -->\r\n</div>\r\n<div id="footer-wrapper">\r\n\t<div id="footer">\r\n\t\t<p>Copyright (c) 2010 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/"> CSS Templates</a>.</p>\r\n\t</div>\r\n</div>\r\n<!-- end #footer -->\r\n</body>\r\n</html>\r\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_css_link(context,path,media=''):
    __M_caller = context.caller_stack._push_frame()
    try:
        self = context.get('self', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 21
        __M_writer(u'\r\n')
        # SOURCE LINE 22
        if path not in self.seen_css:
            # SOURCE LINE 23
            __M_writer(u'        <link rel="stylesheet" type="text/css" href="')
            __M_writer(filters.html_escape(escape(path)))
            __M_writer(u'" media="')
            __M_writer(escape(media))
            __M_writer(u'"></link>\r\n')
            pass
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_css(context):
    __M_caller = context.caller_stack._push_frame()
    try:
        def css_link(path,media=''):
            return render_css_link(context,path,media)
        __M_writer = context.writer()
        # SOURCE LINE 27
        __M_writer(u'\r\n    ')
        # SOURCE LINE 28
        __M_writer(escape(css_link('/style.css', 'screen')))
        __M_writer(u'\r\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


